import request from '@/utils/request';
import Qs from "qs";
import { HmProductsVo, InventoryReviewQueryParmas } from './types'


// 上品/爆品榜
export const upperRanking = (data: any) => {
    return request({
        url: '/basic/hmRanking/upperRanking',
        method: 'get',
        params: data
    });
};
// 上品/爆品榜 第一名
export const upperRankingfirst = (data: any) => {
    return request({
        url: '/basic/hmRanking/upperRanking/first',
        method: 'get',
        params: data
    });
};
// 一次过审榜
export const oneTimeAuthPassRanking = (data: any) => {
    return request({
        url: '/basic/hmRanking/oneTimeAuthPassRanking',
        method: 'get',
        params: data
    });
};
// 一次过审榜第一名
export const oneTimeAuthPassRankingfirst = (data: any) => {
    return request({
        url: '/basic/hmRanking/oneTimeAuthPassRanking/first',
        method: 'get',
        params: data
    });
};
// 新品榜
export const newProductRanking = (data: any) => {
    return request({
        url: '/basic/hmRanking/newProductRanking',
        method: 'get',
        params: data
    });
};
// 新品榜第一名
export const newProductRankingfirst = (data: any) => {
    return request({
        url: '/basic/hmRanking/newProductRanking/first',
        method: 'get',
        params: data
    });
};
// 过审榜
export const authPassRanking = (data: any) => {
    return request({
        url: '/basic/hmRanking/authPassRanking',
        method: 'get',
        params: data
    });
};
// 过审榜第一名
export const authPassRankingfirst = (data: any) => {
    return request({
        url: '/basic/hmRanking/authPassRanking/first',
        method: 'get',
        params: data
    });
};
// 送审榜
export const pushAuthRanking = (data: any) => {
    return request({
        url: '/basic/hmRanking/pushAuthRanking',
        method: 'get',
        params: data
    });
};
// 送审榜第一名
export const pushAuthRankingfirst = (data: any) => {
    return request({
        url: '/basic/hmRanking/pushAuthRanking/first',
        method: 'get',
        params: data
    });
};
// 卷品榜
export const involutionRanking = (data: any) => {
    return request({
        url: '/basic/hmRanking/involutionRanking',
        method: 'get',
        params: data
    });
};
// 卷品榜第一名 第一名
export const involutionRankingfirst = (data: any) => {
    return request({
        url: '/basic/hmRanking/involutionRanking/first',
        method: 'get',
        params: data
    });
};
// 后台列表
export const hmRankinglist = (data: any) => {
    return request({
        url: '/basic/hmRanking/list',
        method: 'post',
        data: data,
        params: data
    });
};
//修改数据
export const hmRankingedit = (data: any) => {
    return request({
        url: '/basic/hmRanking/edit',
        method: 'post',
        data: data,
        params: data
    });
};
